﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MMarketitemBuy.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MarketModel.MMarketitemBuy" %>

<div class="pageContent">
	<form id="Form1" action="MarketModel/MMarketitemBuy.aspx?ajaxmethod=buy&MMID=<%=MMID %>" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone);">
    <div class="pageFormContent" layoutH="60">  
            <p>
				<label>物料名称：</label>
                <input type="text" name="ItemName"  class="required"  value="<%=obj.ItemName %>"/>
			</p>          
            <p>
				<label>供应商：</label>
                <input type="text" name="SupplierName"  class="required"  value="<%=obj.SupplierName %>"/>
			</p> 
              <div class="divider"></div>
              <p>
				<label>购买时间：</label>
                <input type="text" name="BuyDate" class="date required"  value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>" />
                
			</p>
            <p>
				<label>购买单价：</label>
                <input type="text" name="BuyPrice" value="<%=obj.Price %>"/>
                
			</p>
           
             <p>
				<label>入库数量：</label>
                <input type="text" name="BuyNum" class="required"   value="0"/>
                
			</p>
    </div>
    <div class="formBar">
   
			<ul>
				<li><div class="buttonActive"><div class="buttonContent">                 
                    <button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
       
	</form>
</div>